;; (require 'org-install)
;; The default is 800 kilobytes.  Measured in bytes.
(setq gc-cons-threshold (* 50 1000 1000))

(use-package benchmark-init
  :ensure t
  :demand t
  :config
  ;; To disable collection of benchmark data after init is done.
  (add-hook 'after-init-hook 'benchmark-init/deactivate))

(require 'ob-tangle)
(org-babel-load-file (expand-file-name "config.org" user-emacs-directory))

(setq org-hide-emphasis-markers t)

(electric-pair-mode t)

;; 输入法实在是太占地方了，使用这个方法来加载输入法
(add-to-list 'load-path "~/.emacs.d/lisp/")
(add-to-list 'load-path "~/.emacs.d/github")
(require 'init-chinese-flypy)

(add-to-list 'load-path "~/.emacs.d/github/holo-layer/")
(require 'holo-layer)
(holo-layer-enable)
(setq holo-layer-enable-type-animation t)


;; 调整透明度
(set-frame-parameter (selected-frame) 'alpha '(96 . 96))
(add-to-list 'default-frame-alist '(alpha . (96 . 96)))

(hl-line-mode t)

;; Make gc pauses faster by decreasing the threshold.
(setq gc-cons-threshold (* 2 1000 1000))
